# -*- coding: UTF-8 -*-
__author__ = 'kidozh'

from sqlalchemy import Column, String
from sqlalchemy.ext.declarative import declarative_base

from db import connectHandler

# peewee setting
from db.models import baseModel
from peewee import *


class configOption(baseModel):
    '''
    this is option for configuration in template rendering and data rewrite like wp_option
    '''

    name = CharField(100)
    value = CharField(100,null=True)
    # specify for specify value,if null ,the global it is
    module = Column(String(100),default='',nullable=True)